# CMakeLists file
cmake_minimum_required(VERSION 2.6)

project (csv-coder)

INCLUDE_DIRECTORIES(
  ${PROJECT_SOURCE_DIR}/include/
)

SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)

SET(CMAKE_CXX_FLAGS "-g -O2 -Wall -std=c++0x")

add_executable(csv-coder
	src/csv_coder.cpp
	src/csv_parser.cpp
	src/krpc_ostream.cpp
	src/path.cpp
	src/main.cpp
	src/template.cpp
	src/md5.cpp
)

INSTALL(TARGETS csv-coder DESTINATION bin)

